//
// Created by liangwenhao on 2024/4/4.
//

#include "bsp_usart.h"
extern osSemaphoreId_t RcSemBinaryHandle;
void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size)
{
    if (huart->Instance == huart1.Instance)
    {
        osSemaphoreRelease(RcSemBinaryHandle);
    }
}